package com.ajie.bluetoothcard.domain;

import java.io.Serializable;

/**
 * 明信片
 * @author Jack
 */
public class Card implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8690302834596918382L;
	/** ID号 */
	private String id = "";
	/** 姓名 */
	private String name = "";
	/** 手机号码 */
	private String mobilePhone = "";
	/** 电话号码 */
	private String telephone = "";
	/** 头像地址 */
	private String avatar= "";
	/** 职务 */
	private String title = "";
	/** 单位 */
	private String company= ""; 
	/** 语音地址 */
	private String voide = "";
	/** 地址 */
	private String address = "";
	/** 简介 */
	private String introduction = "";
	/** 添加时间 */
	private String time = "";
	/**
	 * 名片类型
	 * 0:自己(未用)
	 * 1:未分组
	 * 2：国企
	 * 3：私企
	 * 4：政府
	 * 5：公安
	 */
	private String type = "";
	/** 
	 * 是否被放进了回收站
	 * 0：否
	 * 1：是
	 * 2:查询自己
	 *  */
	private String isDel = "0";
	public String getIsDel() {
		return isDel;
	}
	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}
	/** 网址 */
	private String url = "";
	/** 邮箱 */
	private String email = "";
	/** 传真 */
	private String fax = "";
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public Card() {
		super();
		// TODO Auto-generated constructor stub
	}
	/**
	 * 
	 * @param name
	 * @param mobilePhone 手机号码
	 * @param telephone 电话号码
	 * @param avatar 头像地址
	 * @param title 职务
	 * @param company 单位
	 * @param voide 语音地址
	 * @param address 地址
	 * @param type 类型
	 * @param isDel 是否被删除 0：否 1：是
	 * @param url 
	 * @param email
	 * @param fax 传真
	 */
	public Card(String name, String mobilePhone, String telephone,
			String avatar, String title, String company, String voide,
			String address,  String type,String isDel,
			String url, String email, String fax) {
		super();
		this.name = name;
		this.mobilePhone = mobilePhone;
		this.telephone = telephone;
		this.avatar = avatar;
		this.title = title;
		this.company = company;
		this.voide = voide;
		this.address = address;
		this.type = type;
		this.isDel = isDel;
		this.url = url;
		this.email = email;
		this.fax = fax;
	}
	@Override
	public String toString() {
		return "Card [id=" + id + ", name=" + name + ", mobilePhone="
				+ mobilePhone + ", telephone=" + telephone + ", avatar="
				+ avatar + ", title=" + title + ", company=" + company
				+ ", voide=" + voide + ", address=" + address
				+ ", introduction=" + introduction + ", time=" + time
				+ ", type=" + type + ", url=" + url + ", email=" + email
				+ ", fax=" + fax + "]";
	}
	public String getVoide() {
		return voide;
	}
	public void setVoide(String voide) {
		this.voide = voide;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	
}
